package org.wheel.plugins.toolkit.jdbc.pool.spi;

import org.wheel.plugins.toolkit.jdbc.pool.bean.DatabaseConnection;

import javax.sql.DataSource;

/**
 * 抽象工厂接口，支持扩展 Druid 等
 */
public interface DataSourceFactory {
    DataSource createDataSource(DatabaseConnection conn);
}